package com.groupsix.service;

import com.groupsix.entity.Stgrade;
import com.groupsix.utils.PageInfo;

import java.util.List;

/**
 * @author 董盛昌
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: 学生卫生服务接口
 * @date 2021/10/17 22:50
 */
public interface StgradeService {
    //分页查询
    public PageInfo findPageInfo(Integer sStudentid, String sName, Integer sDormitoryid, Integer pageIndex, Integer pageSize);

    public int addStgrade(Stgrade Stgrade);    //添加宿舍卫生信息
    public int deleteStgrade(Integer gId);   //删除宿舍卫生信息
    public int updateStgrade(Stgrade Stgrade); //修改宿舍卫生信息
    public Stgrade findStgradeById(Integer gId);
    public List<Stgrade> getAll();
}
